package tset1;
//实现 `Runnable` 接口
public class MyRunnable implements Runnable{
    @Override
    public void run() {
        System.out.println("这是一个线程...实现 `Runnable` 接口");
    }
    public static void main(String[] args) {
        Thread t1=new Thread(new MyRunnable());
        t1.start();
    }
}
